#pragma once

#include "../Network/RLSNetwork.h"

class CRLSLearn
{
public:
	CRLSLearn() = delete;

	CRLSLearn(shared_ptr<CRLSNetwork> spNN, double lambadParam);

public:
	void Training(const Vector & inputData, const Vector & exceptData, double errorField);

private:
	void RLSLearn(const Matrix & FAI, double exceptValue, CRLSNeuron & rlsNeuron, double errorField);

public:
	shared_ptr<CRLSNetwork> m_rlsNN;
};